<div class="widget-user-cover">

    <img src="<{$userinfo.userIcon}>" class="img" alt="">

    <h2 class="name-h2">
        <span class="name"><{$userinfo.userName}></span>
        <{if $userinfo.userGender == 'f'}>
        <img src="/resource/app/imgs/women.png" class="women" alt="">
        <{else}>
        <img src="/resource/app/imgs/men.png" class="men" alt="">
        <{/if}>
    </h2>

    <p class="signature">签名：<{$allUserInfo.userComment}></p>
    <span>
    <{if $userinfo.hasFollowed}>
    <img class="cancel-attention" onclick="user_follow2('del', <{$userinfo.userUid}>, this)" src="/resource/app/imgs/yi_attention.png" alt="">
    <{else}>
    <img class="add-attention" onclick="user_follow2('add', <{$userinfo.userUid}>, this)" src="/resource/app/imgs/add_attention.png" alt="">
    <{/if}>
    </span>

    <!-- 背景开始 -->
    <img src="/resource/app/imgs/<{$rand}>.jpg" class="bg" alt="">
    <!-- 背景结束 -->

</div>

<nav class="nav">
    <ul class="nav-ul fix">
        <li class="nav-li">
            <a class="a" href="/user/show/<{$account.uid}>" title="">
                <p class="title">晒单</p>
                <p class="number"><{$account.countsShai}></p>
            </a>
        </li>
        <li class="nav-li">
            <a class="a" href="/user/attention/<{$account.uid}>" title="">
                <p class="title">关注</p>
                <p class="number"><{$account.countsFollow}></p>
            </a>
        </li>
        <li class="nav-li">
            <a class="a" href="/user/fans/<{$account.uid}>" title="">
                <p class="title">粉丝</p>
                <p class="number"><{$account.countsFans}></p>
            </a>
        </li>
    </ul>
</nav>
